package com.web.frame.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class ContentController {
    @RequestMapping("content/{l}/{name}")
    public String toHtml(@PathVariable("l") String l,
                         @PathVariable("name") String name){
        return "content/" + l + "/" + name;
    }
}
